function checkLogin() {
	var tag=false;
	var name = $("#name");
	var password = $("#password");
	var div_name = $("#name_tips");
	var div_pass = $("#pass_tips");
	if (name[0].value.length==0) {
		div_name[0].innerHTML = "<font size='2' color='red'>用户名不能为空</font>";
	} else
	if (password[0].value.length == 0) {
		div_pass[0].innerHTML="<font size='2' color='red'>密码不能为空</font>";
	}else{
		$("#loginForm").submit();
	}
	return tag;
}



